DeleteSerialNoRecord

SoftwareShield CheckPoint™ License Server > CheckPoint™ License Server Interfaces > CheckPoint_Webservice_References > DeleteSerialNoRecord

## DeleteSerialNoRecord

The DeleteSerialNoRecord function will delete a Serial Number entry from the database

###### Syntax

TRecordResponse * DeleteSerialNoRecord( TCheckPointSNSerialRecord * ASerialNoRecord, BSTR ASessionID ) ;

###### Parameters

ASerialNoRecord

[IN] This is a TCheckPointSNSerialRecord which defines which Serial number to delete. The fields of interest are:

- SNSerialsID- this field should contain the Serial Number ID associated to the Serial number entry to be deleted.

ASessionID

[IN]This is the session ID of the logged in user.

###### Remarks

This function does not remove the Serial number entry from the database. Each Serial Number has a deleted field associated to them. This function will set the deleted field to true. This will allow the recovery of accidental deletion by manually entering the database and set the flag back to false.

Only administrators are allowed to use this function.

###### Return Value

Returns the custom class TRecordResponse. The fields of interest that is related to this method are:

- Success- True will be returned if this function was successful, otherwise false will be returned.

- ErrorMessage- if an error occurred, the associated error message can be found in this field.

###### Function Information

Exposed By Interface: | "ICheckPointService"
Exposed In ISAPI DLL: | "checkpoint.dll"